package com.ase.singleton.single;

/**
 * @author gyhstart
 * @create 2021/3/6 - 10:30
 **/
public class test {
    public static void main(String[] args) {
        for (int i = 0; i < 10; i++) {
            new Thread(() -> {
                System.out.println("Thread.currentThread().getName() = " + Thread.currentThread().getName());
                System.out.println("Singleton.getInstance() = " + Singleton.getInstance());
            }).start();
        }
    }
}
